#ifndef __OneWire_H
#define __OneWire_H

#include "main.h"

#define OneWire_DQ_GPIO_Port GPIOA
#define OneWire_DQ_Pin GPIO_PIN_12

uint8_t OneWire_Start(void);
void OneWire_SendBit(uint8_t Bit);
uint8_t OneWire_ReceiveBit(void);
void OneWire_SendByte(uint8_t Byte);
uint8_t OneWire_ReceiveByte(void);

#endif
